/*
 * LeaveValidationException.java
 * Created on Jun 28, 2005
 *
 * Project: Seagate Leave, Time & Attendance Management System
 * @Description: com.seagate.exception.leave
 */
package com.mycompany.app.hr.eleave.exception;


/**
 * @author chen.sang
 * @version: 1.0, Jun 28, 2005
 *
 * @Description: LeaveValidationException
 */
@SuppressWarnings("serial")
public class LeaveValidationException extends BizAppException {
	public static final int MATERNITY = 1;
	public static final int MARRIAGE = 21;
	public static final int MARRIAGE2 = 22;
	public static final int MARRIAGE3 = 23;
	public static final int COMPASSIONATE = 3;
	public static final int DYSTOCIA = 4;
	public static final int JOURNEY = 5;
	public static final int LATE_MATERNITY = 6;
	public static final int PARTIAL_PAY_MATERNITY = 7;
	public static final int PATERNITY = 8;
	public static final int PREGANANCY = 9;
	public static final int SP1=10;
	public static final int SP2=11;

	private int errorCode;
	/**
	 * 
	 */
	public LeaveValidationException(int errorCode) {
		this.errorCode = errorCode;
	}

	/**
	 * @Description:
	 * @return
	 */
	public int getErrorCode() {
		return errorCode;
	}

	/**
	 * @Description:
	 * @param i
	 */
	public void setErrorCode(int i) {
		errorCode = i;
	}

}
